package com.wzy.designpattern.creational.builder;

/**
 * 描述
 * 创建人    Wzy
 * 创建时间: 2020-05-15  18:20
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActuaBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);

        Course course =
                coach.makeCourse("设计模式", "学习资料PPT", "设计模式精讲视频", "java手机", "问答环节");

        System.out.println(coach);
    }
}

